//
// Created by Administrator on 2020/10/14.
//

#ifndef O5G_SRC_O5GRAN_INCLUDE_DEBUGCODE_H_
#define O5G_SRC_O5GRAN_INCLUDE_DEBUGCODE_H_

typedef enum
{
    RAN_DEBUG_CODE_COMM,

    /* L1 DEBUG CODE */

    /* L2 DEBUG CODE */
    RAN_DC_L2_RECV_TTI_IND,
    RAN_DC_L2_SCH_MIB,

    /* L3 DEBUG CODE */
    RAN_DC_L3_NGAP_SETUP_SUCC,
    RAN_DC_L3_CELL_SETUP_SUCC,

    RAN_DEBUG_CODE_BUTT,
} E_RanDebugCode;

#define RAN_ADD_DBG_CODE(dc) (gRanDebugCode[dc]++)
#define RAN_GET_DBG_CODE(dc) (gRanDebugCode[dc])

extern uint32_t gRanDebugCode[RAN_DEBUG_CODE_BUTT];

#endif //O5G_SRC_O5GRAN_INCLUDE_DEBUGCODE_H_
